package com.hncboy.chatgpt.front.service;


import com.hncboy.chatgpt.front.domain.Message;
import com.hncboy.chatgpt.front.domain.ProStateManagement;
import com.hncboy.chatgpt.front.util.AjaxResultBox;
import com.hncboy.chatgpt.front.util.ChatParams;
import com.hncboy.chatgpt.front.util.ChatResult;

/**
 * chatGpt Service接口
 *
 * @date 2023-04-24
 */
public interface IProProgressService
{
    /**
     * 客户端发送消息到服务端
     * @param
     * @param proStateManagement
     */
    AjaxResultBox sseChat(ProStateManagement proStateManagement);


    // 构建用户消息
    Message buildUserMessage(String content);

    // 构建会话 V2 -- 携带会话ID
    ChatResult doChat(ChatParams params, String chatId);
}
